<?php echo $header; ?>
 <div id="breadcrumbs">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
 </div>
<div id="category-name"> 
	<div id="category-inner"> 
		<h3><?php echo $heading_title; ?></h3>
		<?php if($author||$date_available){?>
		<p><?php echo $text_author?> <?php echo $author?> |<?php echo $date_available?> </p>
		<?php } ?>
	</div>
</div>
<?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
  <div class="article-info">
    <?php if ($thumb) { ?>
    <div class="left">
      <?php if ($thumb) { ?>
      <div class="image"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="fancybox" rel="fancybox"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" id="image" /><span class="thumb"></span></a></div>
      <?php } ?>
    </div>
    <?php } ?>
    <div class="right">
      <div class="description"><?php echo $meta_des; ?></div>
      <?php if ($topics) { ?>
      <ul style="margin-left:10px;">
      	<?php foreach ($topics as $topic){ ?>
      		<li><a href="<?php echo $topic['href']?>"><?php echo $topic['name']?></a></li>
      	<?php }?>
      </ul> 
      <?php } ?>
  	</div>
  </div>
  
  <div>
 	 <?php echo $description; ?>
	  <div class="review" style="margin-top:20px;">
          <span class="share"><!-- AddThis Button BEGIN -->
          <div class="addthis_default_style"><a class="addthis_button_compact"><?php echo $text_share; ?></a> <a class="addthis_button_email"></a><a class="addthis_button_print"></a> <a class="addthis_button_facebook"></a> <a class="addthis_button_twitter"></a></div>
          <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script> 
          <!-- AddThis Button END --> 
         </span>
         <div style="clear:both;width:100%;padding-bottom:10px;"></div>
      </div>
  </div>
  
  <?php if ($articles) { ?>
  <div class="box" style="border-top:1px dotted #427d92;padding-top:20px;">
    <div class="box-heading"><?php echo $tab_related; ?></div>
   	<ul>
      <?php foreach ($articles as $article) { ?>
      <li><a href="<?php echo $article['href']; ?>"><?php echo $article['name']; ?></a></li>
      <?php } ?>
   	</ul>
  </div>
  <?php } ?>
  <?php if ($tags) { ?>
  <div class="tags"><b><?php echo $text_tags; ?></b>
    <?php foreach ($tags as $tag) { ?>
    <a href="<?php echo $tag['href']; ?>"><?php echo $tag['tag']; ?></a>,
    <?php } ?>
  </div>
  <?php } ?>
  <?php echo $content_bottom; ?></div>
<script type="text/javascript"><!--
$('.fancybox').fancybox({cyclic: true});
//--></script> 
<script type="text/javascript" src="catalog/view/javascript/jquery/ui/jquery-ui-timepicker-addon.js"></script> 
<script type="text/javascript"><!--
if ($.browser.msie && $.browser.version == 6) {
	$('.date, .datetime, .time').bgIframe();
}

$('.date').datepicker({dateFormat: 'yy-mm-dd'});
$('.datetime').datetimepicker({
	dateFormat: 'yy-mm-dd',
	timeFormat: 'h:m'
});
$('.time').timepicker({timeFormat: 'h:m'});
//--></script> 
<?php echo $footer; ?>